package entity;

import java.util.Date;

public class Messages {
	private int id;
	private String username;
	private String phone;
	private String email;
	private String content;
	private Date publishdate;
	private int isread;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public Date getPublishdate() {
		return publishdate;
	}
	public void setPublishdate(Date publishdate) {
		this.publishdate = publishdate;
	}
	public int getIsread() {
		return isread;
	}
	public void setIsread(int isread) {
		this.isread = isread;
	}
	public Messages() {
		super();
		// TODO Auto-generated constructor stub
	}
	public Messages(int id, String username, String phone, String email, String content, Date publishdate, int isread) {
		super();
		this.id = id;
		this.username = username;
		this.phone = phone;
		this.email = email;
		this.content = content;
		this.publishdate = publishdate;
		this.isread = isread;
	}
	public Messages(String username, String phone, String email, String content, Date publishdate, int isread) {
		super();
		this.username = username;
		this.phone = phone;
		this.email = email;
		this.content = content;
		this.publishdate = publishdate;
		this.isread = isread;
	}
	
	
	
}
